type Numeric = string | number;

export interface ColumnsItem {
  text: string;
  value: string;
  disabled?: boolean;
}
export interface PrickerConfig {
  show: boolean;
  value: Numeric[] | undefined;
  showValue: () => string;
  onConfirm: (params: { selectedOptions: ColumnsItem[] }) => void;
  columns: ColumnsItem[];
}
export interface DatePrickerConfig {
  show: boolean;
  value: string[];
  onConfirm: (params: { selectedValues: string[] }) => void;
}
export interface optionsItem {
  text: string;
  value: string;
  children?: optionsItem[];
}
export interface AreaPrickerConfig {
  show: boolean;
  cascaderValue: string;
  showValue: () => string;
  onConfirm: (params: { selectedOptions: optionsItem[] }) => void;
  columns: optionsItem[];
}
